/*
 * winstar.h
 *
 *  Created on: 17.03.2012
 *      Author: md5sum@alexsp.ru
 */

#ifndef WINSTAR_H_
#define WINSTAR_H_

#include "global.h"

/*Порт индикатора*/
#define LCDport PORTA
#define LCDddr DDRA
#define LCDpin PINA
#define LCDrs PA1
#define LCDrw PA2
#define LCDe PA3
#define LCDdata_mask 0xf0
#define LCDbusy_mask 0x80

void LCD_init();
//void LCD_prn(const char *str);
//void LCD_prn_p(const prog_char *str);
void LCD_xy(uint8_t col, uint8_t row);
void LCD_char(uint8_t c);
void LCD_clear();
#endif /* WINSTAR_H_ */
